#ifndef DATASOURCETERRAIN_H
#define DATASOURCETERRAIN_H

#include <QString>
#include "datasource.h"

#include <osg/Vec4>
#include <osg/Shape>

namespace rxtiler {

class DataSourceTerrain : public DataSource
{
public:
    DataSourceTerrain();

    // DataSource interface
public:
    bool saveImage(TileKey &key, osg::Image *img);

    bool saveDEM(TileKey &key, osg::HeightField *dem);

    void setSavePath(QString p);

protected:
    QString _root_dir;
};
}

#endif // DATASOURCETERRAIN_H
